package com.easy.demo.service;

import com.easy.demo.entity.User;
import com.sun.xml.internal.bind.v2.model.core.ID;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface UserService {

    List<User> ListUser();
    void selectUserById(int id);
    List<User> selectUserByName(String name);
    void addUser(User user);
    void updateUser(User user);
    void deleteUser(int id);
}
